﻿using VisualWip.Core;
using VisualWip.Core.Columns;

namespace VisualWip.PresentationModel.Text
{
    public class RichTextColumnViewModel : ColumnViewModelBase
    {
        private readonly RichTextColumn _richTextColumn;

        public RichTextColumnViewModel(Application application, RichTextColumn column, IColumnBuilder columnBuilder)
            : base(application, column, columnBuilder)
        {
            _richTextColumn = column;
        }

        public string Document
        {
            get { return _richTextColumn.Document; }
        }
    }
}